#include "mainwindow.h"
#include <QApplication>

#include "logindialog.h"
#include "cinemasystem.h"
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    LoginDialog dlg;
//    CinemaSystem cinemasystem("2023-10-17", "Sample Movie", 100.0);   //括号里的参数没用
//    cinemasystem.halls= cinemasystem.readAuditoriumsFromFile("D:\\QT_projects\\Login\\2.txt");
    if (dlg.exec() == QDialog::Accepted)
    {

       dlg.show();
       return a.exec();
    }
    else return 0;
}
